﻿using ProductTool.Tools;
using System;
using System.Collections.Generic;
using System.Text;

namespace ProductTool.Entity
{
    class CategoryEntity
    {
        public int category_id { get; set; }

        public string category_name { get; set; }

        public string category_name_eng { get; set; }

        public int parent_category_id { get; set; } = 0;

        public int level { get; set; } = 1;

        public string path { get; set; }

        public int priority { get; set; } = 100;

        public string in_user { get; set; } = Common.in_user;
        public int warning_days { get; internal set; }

        public CategoryExtend categoryExtend { get; set; }
    }

    public class CategoryExtend {
        public int minimal_exp { get; set; }
    }
}
